go/types.graphNode.obj (field)
14 uses
go/types (current package)
initorder.go#L51: fmt.Printf("\t%s depends on %d nodes\n", n.obj.Name(), n.ndeps)
initorder.go#L53: fmt.Printf("\t\t%s is dependent\n", p.obj.Name())
initorder.go#L74: n.obj.Name(), n.obj.order(), n.ndeps)
initorder.go#L79: cycle := findPath(check.objMap, n.obj, n.obj, make(map[Object]bool))
initorder.go#L104: v, _ := n.obj.(*Var)
initorder.go#L205: obj dependency // object represented by this node
initorder.go#L235: M[obj] = &graphNode{obj: obj}
initorder.go#L256: if _, ok := n.obj.(*Func); ok {
initorder.go#L327: _, xConst := x.obj.(*Const)
initorder.go#L328: _, yConst := y.obj.(*Const)
initorder.go#L335: return x.ndeps < y.ndeps || x.ndeps == y.ndeps && x.obj.order() < y.obj.order()